<%@ page language="java" contentType= "text/html" pageEncoding="UTF-8"%>
<%@include file="/include/common/griduihead1.jsp"%>
<%
	page1.setFastMode(true);
	page1.getPageTitle().setEnab(false);
%>
<%@include file="/include/common/griduihead2.jsp"%>
<%
	page1.getPageTitle().setTitle("用戶設定left");
	page1.setMinWidth(100);
	page1.setFilterEnab(false);
	String firstSn = "";
%>
<jm:form>
<jm:layout postion="north">
	<jm:toolbar newEnab="false" saveEnab="false"  cancelEnab="false" deleteEnab="false" copyEnab="false" startEnab="false" checkEnab="false" exportEnab="false" printEnab="false" helpEnab="false"/>
	<jm:sp id="sp1" data="<%=Utils.TAG_FORM%>" tabSize="0" layout="false">
		<jm:tab colModel="*">
			<jm:fieldset caption="查詢條件">
				<input name="userid" caption="用戶名(%)" type="text"/>
				<input name="chname" caption="姓名(%)" type="text"/>
			</jm:fieldset>
		</jm:tab>
	</jm:sp>
	<jm:error></jm:error>
</jm:layout>

<jm:layout postion="center">
	<jm:table id="grid1" dataSet="<%=ret.getSerchResult()%>">
		<jm:thead>
	<tr>
		<td width="100px">用戶名</td>
		<td width="100px">姓名</td>
		<td width="100px">性別</td>
	</tr>
</jm:thead>
<jm:tbody>
	<%firstSn=ret.grsv("sn");%>
	<jm:tr styleClass="<%="0".equals(ret.grsv("enab")) ? "bg0" : ""%>">
		<jm:td cid="userid"><a href="#" onclick="openeditpage('<%=ret.grsv("sn")%>');"><%=ret.grsv("userid")%></a></jm:td>
		<jm:td cid="chname"></jm:td>
		<jm:td cid="sex"></jm:td>
	</jm:tr>
</jm:tbody>
	</jm:table>
</jm:layout>
</jm:form>
<jm:script><script type="text/javascript" charset="UTF-8">
	var targetWin = targetWin = parent.$('#mainFrame')[0].contentWindow; ;
	targetWin.location.href='admin004_right.jsp?pan001sn='+<%=firstSn%>;
	
	function openeditpage(key){
		targetWin.location.href='admin004_right.jsp?pan001sn='+key;
	}
</script></jm:script>
<%@include file="/include/common/griduiend.jsp"%>
